package com.easy.dev.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Data
@Component
// @ConfigurationProperties(prefix = "mybatis.plus.generate")
public class Generate {

    //@Value("${database.name}")
    private String dbName = "easy_dev";

    //@Value("${file.directory}")
    private String directory = "F:\\IDEA\\idea\\easy-dev\\src\\main\\java\\com\\easy\\dev\\";

    //@Value("${common.package}")
    private String packageName = "com.easy.dev";

    //@Value("${mysql.keywords}")
    private String keywords = "select,update,delete,insert,condition,order";

    //@Value("${xml.head}")
    private String xmlHead = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\" >\n";



}

